﻿#ifndef NSA3000TLM_H
#define NSA3000TLM_H

#include "ace/ace_m_m.h"
#include "sys_h/SYS_VER.h"
#include "sys_h/DATATYPE.h"
#include "sys_h/DATATYPE_S.h"
#include "net_h/NET.h"
#include "err_num/ERR_NUM.h"

class Q_DECL_EXPORT NSA3000TLM : public ace_m_m_l
{
public:
	                                   NSA3000TLM();
  virtual                             ~NSA3000TLM();
          XBOOL                        init_lm(XCHAR *pnsa3000t_l_m_name=XNULL,XBOOL bzero=XFALSE);
		  XBOOL                        fini_lm(XBOOL del=XFALSE);  
		  XINT                         TransNetMsgToLinkMsg(NSA3000T_NET_MSG *pnet_msg,NSA3000T_LN_MSG *plink_msg);
		  XINT                         TransLinkMsgToBuf(NSA3000T_LN_MSG *plink_msg,XCHAR *pbuf,XUSHORT buf_idx);
		  XINT                         TransBufToLinkMsg(XCHAR *pbuf,XUSHORT buf_idx,NSA3000T_LN_MSG *plink_msg);
		  XINT                         TransLinkMsgToNetMsg(XUINT from_obj_id,XUINT to_obj_id,NSA3000T_LN_MSG *plink_msg,NSA3000T_NET_MSG *pnet_msg);
};
#endif 
